#include<stdio.h>
void myod(int fd,int a,int b,int c,int d)
{
char ch,line[16];
int i;
int j=0;
while((ch=fgetc(fd))!=EOF){
line[j%16]=ch;
if((j+1)%16==0){
if(a)
{
ab:for(i=0;i<16;i++)
{
if(line[i]=='\t')
{
printf("%5s","\\t");
goto ab;
}
if(line[i]=='\n')
{
printf("%5s","\\n");
goto ab;
}
putchar(line[i]);
putchar(' ');
putchar(' ');
putchar(' ');
}
putchar('\n');}
if(b){
ac:for(i=0;i<16;i++)
{
if(line[i]=='\n')
{
printf("0%-4x",'\n');
goto ac;;
}
if(line[i]=='\t')
{
printf("0%-4x",'\t');
goto ac;;
}
printf("%-5x",line[i]);
}
putchar('\n');
}
if(c){
ad:for(i=0;i<16;i++)
{
if(line[i]=='\n')
{
printf("%-5d",'\n');
goto ad;
}
if(line[i]=='\t')
{
printf("%-5d",'\t');
goto ad;
}
printf("%-5d",line[i]);
}
putchar('\n');
}
if(d)
{
ae:for(i=0;i<16;i++)
{
if(line[i]=='\n')
{
printf("%-5o",'\n');
goto ae;
}
if(line[i]=='\t')
{
printf("%-5o",'\t');
goto ae;
}
printf("%-5o",line[i]);
}
putchar('\n');
}
printf("Next Line!\n");
}
j++;
}
}


